home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
doom
/
valhalla.zip
/
VINSTALL.BAT
< prev
Wrap
DOS Batch File
|
1997-03-06
|
2KB
|
61 lines
@echo off
cls
echo.
echo VALHALLA.WAD Installation
echo.
echo This batch program will NOT alter your Doom2.exe or Doom2.wad files.
echo If you have a doomhack.exe file you are working on, it will not be affected.
echo Your savegames will be backed up as 'doomsav#.old'.
echo.
echo CTRL + C to abort.
echo.
pause
cls
if not exist doom2.wad goto missing
if not exist doom2.exe goto missing
if not exist valhalla.deh goto missing
if not exist valhalla.wad goto missing
if not exist dehacked.exe goto missing
if not exist deusf.exe goto missing
if not exist vinstall.bat goto missing
if exist doomhack.exe copy doomhack.exe doomhack.old
if exist doomhack.ini copy doomhack.ini dhackini.old
if exist doomhack.exe del doomhack.exe
copy doom2.exe doomhack.exe
dehacked -reload -load valhalla.deh
cls
echo.
echo Saving original valhalla.wad as valhalla.org...
copy valhalla.wad valhalla.org
echo.
echo Adding sprites and flats. This will take about 45 seconds...
@deusf -main .\doom2.wad -as valhalla.wad
echo.
echo doomhack -file valhalla.wad > valhalla.bat
cls
echo.
echo Installation succeeded.
echo type VALHALLA to play the modified game.
echo.
echo IMPORTANT. If you want to play a modem, serial or network game, move
echo your original doom2.exe to a safe location and rename valhalla.exe as
echo doom2.exe.
echo.
goto end
:missing
echo ERROR. These files must be in your Doom2 directory.
echo.
echo doom2.exe (of course)
echo deusf.exe
echo dehacked.exe
echo valhalla.wad
echo valhalla.deh
echo vinstall.bat
echo.
echo Check your Doom2 directory then run vinstall again.
echo.
goto end
:end